﻿using System.ComponentModel.DataAnnotations;

namespace Yelper.Web.Validators {

    public class UsernameAttribute : RegularExpressionAttribute {

        public UsernameAttribute()
            : base(
                @"^[a-zA-Z0-9_]+$"
                ) {
        }

    }
}